package com.kc.business.service.impl;

import com.kc.business.domain.vo.BizProcameraOrder;
import com.kc.business.mapper.BizProcameraOrderMapper;
import com.kc.business.service.IBizProcameraOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * TODO
 *
 * @author zhangshuo
 * @version 1.0
 * @date 2020/10/9
 */
@Service
public class BizProcameraOrderServiceImpl implements IBizProcameraOrderService {
    @Resource
    BizProcameraOrderMapper orderMapper;

    /**
     * 拍客订单列表
     *
     * @param procameraOrder
     * @return
     */
    @Override
    public List<BizProcameraOrder> getList(BizProcameraOrder procameraOrder) {
        return orderMapper.select(procameraOrder);
    }

    /**
     * 修改拍客订单
     *
     * @param procameraOrder
     * @return
     */
    @Override
    public int edit(BizProcameraOrder procameraOrder) {
        return orderMapper.updateByPrimaryKeySelective(procameraOrder);
    }
}
